package zoran.wang.calculate;/**
 * description：
 *
 * @author wangzhuo
 * @date 2022/3/21 16:27
 * @Email zoranwang@yeah.net
 */

import org.springframework.stereotype.Component;

/**
 * @program: spring-demo
 * @description: 计算器
 * @author: wangzhuo
 * @create: 2022-03-21 16:27
 **/
@Component
public class Calculator {

    public int add(int a, int b) {
        return a + b;
    }

    public int div(int a, int b) {
        return a / b;
    }
}
